{%extends "base.html"%}
{%block body%}
<h2>Add Or Edit Fabric Type</h2>

List of fabrics:
<ul>
{%for fabric in fabrics%}
<li>
  <a href="{%url fabriccontroller.edit fabric.key.id%}">{{fabric.displayName|escape}}</a>
  - created {{fabric.addDate|date:"Y/m/d"}}  <a href="{%url fabriccontroller.delete fabric.key.id%}">[delete]</a>
  <br />
  </li>
{%endfor%}
</ul>

<a href="{%url fabriccontroller.new%}">Create new fabric</a>

{%endblock%}
